<?php
header("Content-type:text/html; charset=utf-8");
require_once ('config.php');
require_once (WEBURL.'/include/conn.php');
require_once (WEBURL.'/login_status_check.php');
if(!checkLogin()){
	require_once ('admin_login.php');
}
else{
	$smarty->assign("admin_name",$_SESSION['admin_name']);
	$smarty->assign("title","汉阴气象局后台管理系统");
    $smarty->display('admin_main_window.htm',md5("index.php"));
}